<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <% 
    	String path = request.getContextPath();
    %>
<html lang="en">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
<script type="text/javascript" src="${path }/js/jquery-3.6.0.min.js"></script>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>我的发布</title>
    <link rel="icon" type="image/png" href="<%= path %>/assets/images/favicon-32x32.png">
    <link rel="stylesheet" href="<%= path %>/assets/main/css/fonts.css">
    <link rel="stylesheet" href="<%= path %>/assets/main/css/style.css">
</head>
<body>
    <div id="main-wrapper" class="show">
        <div class="nav-header">
            <div class="brand-logo">
                <a href="index.html"><img class="brand-title" src="<%= path %>/assets/images/logo.png" alt=""></a>
            </div>
        </div>
        <aside class="left-panel nicescroll-box">
            <nav class="navigation">
				<ul class="list-unstyled main-menu">
					<li class="has-submenu"><a
						href="${path }/MyCollectionController?action=getMyCollection">
							<i class="fas fa-th-large"></i> <span class="nav-label">我的收藏</span>
					</a></li>
					<li class="has-submenu"><a
						href="${path }/PostController?action=show"> <i
							class="fas fa-calendar-plus"></i> <span class="nav-label">我的发布</span>
					</a></li>
					<li class="has-submenu"><a
						href="${path }/UpdatePasswordController?action=changeuserpass">
							<i class="fas fa-chart-pie"></i> <span class="nav-label">修改密码</span>
					</a></li>
					<li class="has-submenu"><a
						href="${path}/UpdateUserinfoCenterController?action=UpdateUserinfoCenterById">
							<i class="fas fa-cog"></i> 修改个人信息
					</a></li>
					<li class="has-submenu"><a
						href="${path}/PostNumberLikesController?action=postNumberLikes">
							<i class="fas fa-cog"></i> 获赞
					</a></li>
					<li class="has-submenu"><a
						href="${path}/CommentReplyController?action=findAll"> <i
							class="fas fa-cog"></i> 我的帖子
					</a></li>
				</ul>
			</nav>
            <div class="sidebar-widgets">
               <div class="top-sidebar box-shadow mx-25 m-b-30 p-b-20 text-center">
                <img src="<%= path %>/assets/images/appointement.svg" class="side-img" alt="img">
                </div>
                <div class="copyright text-center">
                    <p class="mb-0"> 中国航天</p>
                    <p class="mb-0"> © 2021 </p>
                </div>
            </div>
        </aside>




       <jsp:include page="/inc/signter.jsp"></jsp:include>
        
        
        
        
        
        
        <div class="content-body">
            <div class="warper container-fluid">
                <div class="new_appointment main_container">
                    <div class="row page-titles mx-0">
                        <div class="col-sm-6 p-md-0">
                            <div class="welcome-text">
                                <h4 class="text-primary">我的发布</h4>
                                <p class="mb-0">管理我的帖子</p>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6 col-xl-3 col-lg-6">
                            <div class="widget card card-primary">
                                <div class="card-body" style="background-color:#0d6efd;border-radius:5px;">
                                    <div class="media text-center">
                                        <span>
                                            <i class="fas fa-calendar-check fa-2x"></i>
                                        </span>
                                        <div class="media-body">
                                            <span class="text-white">发布帖子数量</span>
                                            <h3 class="mb-0 text-white">7699</h3>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="row">
                        <div class="col-md-12">
                            <div class="card shadow">
                                <div class="card-body">
                                    <div class="table-responsive">
                                       查看：<a href="through.jsp">已通过审核</a>
                                       <a href="notThrough.jsp" class="audit">未通过审核</a>
                                        <table id="example3" class="display nowrap">
                                            <thead>
                                                <tr>
                                                    <th>序号</th>
                                                    <th>标题</th>
                                                    <th>发布时间</th>
                                                    <th>状态</th>
                                                    <th>操作</th>
                                                    <th></th>
                                                    <th></th>
                                                </tr>
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        1
                                                    </td>
                                                    <td>航天大事件</td>
                                                    <td>2021/11/9 15：00</td>
                                                    <td class="text-start">
                                                        <span class="badge badge-primary">未通过审核</span>
                                                    </td>
                                                    <td><a href="">删除</a></td>
                                                </tr>
                                                 <tr>
                                                    <td>
                                                        2
                                                    </td>
                                                    <td>东方红升空</td>
                                                    <td>2021/11/9 15：00</td>
                                                    <td class="text-start">
                                                        <span class="badge badge-primary">已通过审核</span>
                                                    </td>
                                                    <td><a href="">删除</a></td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        3
                                                    </td>
                                                    <td>空间站对接</td>
                                                    <td>2021/11/9 15：00</td>
                                                    <td class="text-start">
                                                        <span class="badge badge-primary">未通过审核</span>
                                                    </td>
                                                    <td><a href="">删除</a></td>
                                                </tr>
                                                
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="footer">
            <div class="copyright">
                <p class="mb-0">Copyright ©&中国航天  &amp;2021 
                </p>
            </div>
        </div>

        <div class="modal fade" id="exampleModalCenter" tabindex="-1" aria-labelledby="modal-title-head-modal" aria-hidden="true">
            <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="modal-title-head-modal">Michael R Sheets</h5>
                        <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"> <span
                                aria-hidden="true">&times;</span>
                        </button>
                    </div>
                    <div class="modal-body">    
                        <hr>
                        <form>
                            <div class="form-group">
                               
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
                        <button type="button" class="btn badge-primary">Save changes</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade" id="changeTimeAndDate" tabindex="-1" role="dialog" aria-labelledby="modal-title-edit-modal">
            <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="modal-title-edit-modal"><img class="rounded-circle" width="35" src="<%= path %>/assets/images/patients/user1.jpg" alt=""> Michael R Sheets
                        </h5>
                        <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <form class="row align-items-start">
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <input class="form-control" type="text" value="06/17/2021">
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="form-group">
                                    <select class="form-control form-select">
                                        
                                    </select>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
                        <button type="button" class="btn badge-primary">Save changes</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="modal fade selectRefresh" id="newAppointment" tabindex="-1" aria-labelledby="exampleModalLabelOne">
            <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="exampleModalLabelOne"> New appointment </h5>
                        <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <form class="row align-items-start">
                            <div class="col form-group">
                                <input class="form-control" type="text" value="06/17/2021">
                            </div>
                            <div class="col form-group">
                                <select class="form-control form-select">
                                    
                                </select>
                            </div>
                            <div class="col form-group">
                                <select class="form-control form-select">
                                    
                                </select>
                            </div>
                            <br>
                            <div class="col-lg-12">
                                <div class="form-group">
                                    <label>Motif Patient</label>
                                    <textarea class="form-control" rows="3"></textarea>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
                        <button type="button" class="btn badge-primary">Save changes</button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="<%= path %>/assets/plugins/jquery/jquery.min.js"></script>

    <script src="<%= path %>/assets/plugins/popper/popper.min.js"></script>

    <script src="<%= path %>/assets/plugins/bootstrap/js/bootstrap.min.js"></script>

    <script src="<%= path %>/assets/plugins/moment/moment.min.js"></script>

    <script src="<%= path %>/assets/plugins/daterangepicker/daterangepicker.min.js"></script>

    <script src="<%= path %>/assets/plugins/datatables/jquery.dataTables.min.js"></script>
    <script src="<%= path %>/assets/js/init-tdatatable.js"></script>

    <script src="<%= path %>/assets/js/toggleFullScreen.js"></script>
    <script src="<%= path %>/assets/js/main.js"></script>

</body>

</html>